package com.cloudkinto.service.stock;

import com.cloudkinto.entity.ShippingAddressDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.service.stock.vo.ShippingAddressAddReq;
import com.cloudkinto.service.stock.vo.ShippingAddressUpdateReq;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author zhujiale
 * @since 2022-09-20
 */
public interface ShippingAddressService extends IService<ShippingAddressDo> {

    SingleResult addInit();

    Object add(ShippingAddressAddReq req, Long userId, Long companyId);

    Object update(ShippingAddressUpdateReq updateVo, Long userId);

    int delete(Long id);

    Object detail(Long id);

    PageResult getListPage(Map<String, String> map);
}
